﻿<%@ Page Title="CDB Blog" Language="C#" MasterPageFile="~/CDBPage.master" AutoEventWireup="true"
    CodeFile="Blog.aspx.cs" Inherits="Blog" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <section class="content">
        <div class="inner-billboard">
            <h3>CDB Blog</h3>
            <blockquote></blockquote>
        </div>

        <asp:GridView ID="grdBlog" runat="server" AutoGenerateColumns="false" 
        onrowdatabound="grdBlog_RowDataBound" BorderWidth="0" ShowFooter="false" ShowHeader="false">
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <article>
                            <div class="news-gallery" id="blogName" runat="server">
                            </div>
                            <br />
                            <p id="paraContent" runat="server"></p>
                        </article>
                        <asp:Label ID="lblName" runat="server" Text='<%#Eval("Name") %>' style="display:none;"></asp:Label>
                        <asp:Label ID="lblDate" runat="server" Text='<%#Eval("DateAdded") %>' style="display:none;"></asp:Label>
                        <asp:Label ID="lblContent" runat="server" Text='<%#Eval("Content") %>' style="display:none;"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
</section>
</asp:Content>
